#include <stdio.h>
int main()
{
	int i,j,temp,a[] = {45,64,3,4667,54,224,76,554,86};  // 9 
	for(i=0;i<9;i++)
	{
		for(j=0;j<9-i;j++)
		{
			if(a[j] > a[j+1]){
			temp = a[j];
			a[j] = a[j+1];
			a[j+1] = temp;	
			}
		}
		
	}
	
	for(i=0;i<9;i++)
	{
		printf("%5d",a[i]);
	}
	return 0;
 } 
